package cn.iocoder.yudao.module.blog.convert.askresponse;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.blog.controller.admin.askresponse.vo.*;
import cn.iocoder.yudao.module.blog.dal.dataobject.askresponse.BlogAskResponseDO;

/**
 * 学员问题回复 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface BlogAskResponseConvert {

    BlogAskResponseConvert INSTANCE = Mappers.getMapper(BlogAskResponseConvert.class);

    BlogAskResponseDO convert(BlogAskResponseCreateReqVO bean);

    BlogAskResponseDO convert(BlogAskResponseUpdateReqVO bean);

    BlogAskResponseRespVO convert(BlogAskResponseDO bean);

    List<BlogAskResponseRespVO> convertList(List<BlogAskResponseDO> list);

    PageResult<BlogAskResponseRespVO> convertPage(PageResult<BlogAskResponseDO> page);

    List<BlogAskResponseExcelVO> convertList02(List<BlogAskResponseDO> list);

}
